﻿using InnoWeb.CEND.Core.Model.Base;
using InnoWeb.CEND.Core.Model.Expert;
using InnoWeb.CEND.Core.Model.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace InnoWeb.CEND.Core.Model.Training
{
    public class TrainingItem : BaseItem, ITraining
    {
        public TrainingItem()
        {

        }

        //public string Name { get; set; }

        //public string NameTR { get; set; }

        public ExpertInfo Expert { get; set; }

        public int ExpertInfoId { get; set; }

        private IList<TrainingContent> _trainingContents;

        public IList<TrainingContent> TrainingContents
        {
            get { return _trainingContents ?? (_trainingContents = new List<TrainingContent>()); }
            protected set { _trainingContents = value; }
        }
    }
}
